OpenCLIP Documentation
Build powerful vision-language models with OpenCLIP. Train CLIP models at scale, leverage state-of-the-art pretrained weights, and perform zero-shot image classification and retrieval.

Quick start
Get up and running with OpenCLIP in minutes
Install OpenCLIP
pip install -U timmLoad a pretrained model
Available pretrained models
Available pretrained models
Encode images and text
Train your own model
Key features
Everything you need to build and deploy vision-language models
State-of-the-art models
Flexible architectures
Large-scale training
Zero-shot inference
CoCa support
HuggingFace integration
Explore by topic
Dive deeper into specific areas of OpenCLIP
Core concepts
Understand CLIP architecture, contrastive learning, and zero-shot classification
Training guide
Train CLIP models from scratch on single or multiple nodes with distributed training
Model usage
Load pretrained models, run inference, and integrate CLIP into your applications
API reference
Complete API documentation for all OpenCLIP functions, classes, and utilities
Resources
Additional resources to help you succeed with OpenCLIP
Research paper
GitHub repository
Pretrained model zoo
Colab notebooks
Ready to get started?
Start building with OpenCLIP today. Follow our quickstart guide to load your first pretrained model and run zero-shot classification in minutes.
Get Started